<style type="text/css">
    .center{text-align:center}
</style>
<body>
<div class="bjy-admin-nav">
    <i class="fa fa-home"></i>首页 
    &gt;
    话题列表
</div>
<ul id="myTab" class="nav nav-tabs">
    <li class="active">
         <a href="javascript:void(0)">话题管理</a>
    </li>
    <li class="fa">
        <a href="<{:url('huati/huatiadd')}>">发表公共话题</a>
    </li>
</ul>
<table class="table table-striped table-bordered table-hover table-condensed center" method="post">
    <tr>
        <th class="center">话题ID</th>
        <th class="center">用户昵称</th>
        <th class="center">话题标题</th>
        <th class="center">话题内容</th>
        <th class="center">话题时间</th>
        <th class="center">话题图片</th>
        <th class="center">话题赞</th>
        <th class="center">话题评论</th>
        <th class="center">话题类型</th>
        <th class="center">操作</th>
    </tr>
    <{volist name="huatilist" id="vo"}>
        <tr class="center">
            <td style="line-height: 80px"><{$vo.huatiid}></td>
            <td style="line-height: 80px"><{$vo.nickname}></td>
            <td style="line-height: 80px"><{$vo.huatititle}></td>
            <td style="line-height: 80px"><{$vo.huaticontent}></td>
            <td style="line-height: 80px"><{$vo.addtime|date="Y-m-d H:i:s",###}></td>
            <td style="line-height: 80px"><img src="<{$vo.huatiphoto}>" width="80px;"></td>
            <td style="line-height: 80px"><{$vo.huatizan}></td>
            <td style="line-height: 80px"><{$vo.huatipinlun}></td>
            <{if condition="$vo.huatitype eq '0'"}>
            <td style="line-height: 80px">未审核</td>
            <{elseif condition="$vo.huatitype eq '1'"}>
            <td style="line-height: 80px">审核通过</td>
            <{/if}>
            <td style="line-height: 80px">
                <{if condition="$vo.huatitype eq '0'"}>
                <a href="<{:url('huati/shenhe',['huatiid'=>$vo.huatiid])}>">审核</a>
                <{elseif condition="$vo.huatitype eq '1'"}>
                <{/if}>
                <a href="<{:url('huati/del_huati',['huatiid'=>$vo.huatiid])}>">删除</a>
            </td>
        </tr>
    <{/volist}>
</table>
    <div class="blog-pagination center">
        <{$page}>
    </div>
</body>